package cn.tmpan.dao;

import cn.tmpan.entity.MsgRecord;

public interface MsgRecordMapper {
    int insert(MsgRecord record);

    int insertSelective(MsgRecord record);

    /**
     * 查询最近发送的验证码
     * @param record
     * @return
     */
    MsgRecord selectRecentCodeByCodeTarget(MsgRecord record);

    int deleteByPk(int id);
}